package org.example.springioc.v2;

import org.example.springioc.v1.Car;

public class Main {
    public static void main(String[] args) {

        Tire tire = new Tire(15,"red");
        Bottom bottom = new Bottom(tire);
        FrameWork framework1 = new FrameWork(bottom);
        Car2 car = new Car2(framework1);
        car.run();
    }
}
